package br.unesp.rc.rafaelt.business.to;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "subject")
public class SubjectTO {
	private Long subjectId;
	private String name;

	public SubjectTO() {
	}

	/**
	 * @param subjectId
	 * @param name
	 */
	public SubjectTO(Long subjectId, String name) {
		super();
		this.subjectId = subjectId;
		this.name = name;
	}

	/**
	 * @return the subjectId
	 */
	public Long getSubjectId() {
		return subjectId;
	}

	/**
	 * @param subjectId
	 *            the subjectId to set
	 */
	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
}